import React from 'react' ;
import { HashRouter as Router, Route, Switch } from "react-router-dom";
import './personnelAssessment.scss' ;

import FillInfomation from './FillInfomation/FillInfomation' ;
import StartTesting from './StartTesting/StartTesting' ;

import rccp_banner from '../../static/personnelAssessment/rccp_banner.jpg' ;

class personnelAssessment extends React.Component{
    render(){
        return(
            <Router>
                <div className={`personnelAssessment`}>
                    <div className={`personnelAssessment_banner`}>
                        <img src={rccp_banner} alt="等待加载"/>
                    </div>
                    <div className='container personnelAssessment_content'>
                        <Switch>
                            <Route path={`/personnelAssessment/FillInfomation`} component={FillInfomation}/>
                            <Route path={`/personnelAssessment/StartTesting`} component={StartTesting}/>
                        </Switch>
                    </div>
                </div>
            </Router>
        )
    }
}

export default personnelAssessment ;